package com.library.dcy.service;


import com.library.dcy.entity.BorrowInfo;
import com.library.dcy.entity.PageInfo;
import com.library.dcy.entity.RepayInfo;

public interface BookService {
    //按读者id分页查询借书记录
    PageInfo<BorrowInfo> borrow(Integer id , Integer currentPage);
    //分页查询借书总记录数
    Integer borrowcount(Integer id) throws Exception;
    //按读者id分页查询还书记录
    PageInfo<RepayInfo> repay(Integer id, Integer currentPage);
    //分页查询还书总记录数
    Integer repaycount(Integer id) throws Exception;
}
